# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-clipman-plugin
pkgver=1.6.6
pkgrel=0
pkgdesc="Clipboard manager plugin for the Xfce panel"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin"
arch="all"
license="GPL-2.0-or-later"
makedepends="libxfce4ui-dev xfce4-panel-dev libxtst-dev exo-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-clipman-plugin/${pkgver%.*}/xfce4-clipman-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
4f6bb8f56111903af576d06ce5883e8ada2cb3ea377e09a79d2c5fb6f37743dac621649465a573a8a29a1fb884e7608a53dd6486eada23c7f8ee6401237988af  xfce4-clipman-plugin-1.6.6.tar.bz2
"
